using System;
using Glade;
using Gtk;

namespace DreamPark
{
	public class Screen_ImpressionTicket {
		
		private ControleurEntree ctrlEntree;
		private Ticket ticket;
		private int acces;
		
		[Glade.Widget]
		Window FenetreImprimerTicket;
		
		public Screen_ImpressionTicket (ControleurEntree ctrlEntree, Ticket ticket, int acces) {
			
			Glade.XML gxml = new Glade.XML (null, "DreamPark.FenetreImpressionTicket.glade", "FenetreImprimerTicket", null);                    
            gxml.Autoconnect (this);
			
			this.ctrlEntree = ctrlEntree;
			this.ticket = ticket;
			this.acces = acces;
		}
		
			public void BoutonOK_clicked_cb(System.Object obj, EventArgs e){
				Screen_Ticket fenetreTicket = new Screen_Ticket(ctrlEntree, ticket, acces);
			    FenetreImprimerTicket.Destroy();

		}
	}
}

